package cn.tedu.micro.service.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

//指定这个类对应哪个数据库表
@Data
@TableName("cart_tbl")
public class CartPO implements Serializable {
    //购物车id
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    //商品编号
    private String productCode;
    //用户id
    private String userId;
    //购买的数量
    private Integer count;
    //商品单价
    private Integer price;
}
